Skip to content

Fixed incorrect example in mouseWheel reference. #721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

afthal-ahamad01
Copy link

The example incorrectly modified the X coordinate instead of the circle size.
This fix correctly centers the circle while allowing size changes.

Closes #7613

@ksen0
Copy link
Member

ksen0 commented May 13, 2025

Hi @afthal-ahamad01 thank you so much for noticing this, and sorry for the delayed review! Looks like it has been fixed in the source JSDoc / in the original issue processing/p5.js#7614, so I am closing the PR.

In the future, if you spot reference errors, please check the corresponding file in the p5.js repository; the main branch for p5js.org, or the dev-2.0 branch for beta.p5js.org. Please make an issue first and when it's approved for work, you are welcome to make the PR. Because it's not always obvious exactly where the fix should be, we ask for issue first before PR. Thanks you!

@ksen0 ksen0 closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants